<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$route['404_override'] = '';
$route['default_controller'] = "manage/index/index";
$route['index'] = "manage/index/index";
$route['exportfile'] = "manage/index/exportfile";
$route['login'] = "manage/authentic/login"; 
$route['logout'] = "manage/authentic/logout";
$route['profile'] = "manage/user/profile"; 

/**
 * 
 * @void Nhà hàng
 * 
 */
$route['manage/restaurant/getzone'] = "manage/restaurant/getzone"; // ???
$route['manage/restaurant/index'] = "manage/restaurant/index";
$route['manage/restaurant/index/trang-(:num)'] = "manage/restaurant/index";
$route['sort-label'] = "manage/restaurant/sortlabel"; // ???
$route['manage/restaurant/edit-restaurant/(:num)'] = "manage/restaurant/editrestaurant";
/**
 * 
 * @void Địa chỉ
 * 
 */
$route['manage/address/edit-address/(:num)'] = "manage/address/editaddress";
$route['manage/address/index'] = "manage/address/index";
$route['manage/address/index/trang-(:num)'] = "manage/address/index";
 /**
 * 
 * @void E-coupon
 * 
 */
$route['manage/ecoupon/add-ecoupon']                   = "manage/ecoupon/addecoupon"; 
$route['manage/ecoupon/index']                          = "manage/ecoupon/index";
$route['manage/ecoupon/index/(:num)']                   = "manage/ecoupon/index";
$route['manage/ecoupon/edit-ecoupon/(:num)']           = "manage/ecoupon/editecoupon";
$route['manage/ecoupon/delete-ecoupon/(:num)']         = "manage/ecoupon/deleteecoupon";
 /**
 * 
 * @void User Ecoupon
 * 
 */
$route['manage/userecoupon/index']               = "manage/userecoupon/index";
$route['manage/userecoupon/index/(:num)']        = "manage/userecoupon/index";
$route['manage/userecoupon/search-user-ecoupon']        = "manage/userecoupon/searchuserecoupon";
$route['manage/userecoupon/add-user-ecoupon']           = "manage/userecoupon/adduserecoupon";
$route['manage/userecoupon/delete-user-ecoupon/(:num)'] = "manage/userecoupon/deleteuserecoupon";
 /**
 * 
 * @void List Staff
 * 
 */
$route['manage/system/list-staff']                     = "manage/system/liststaff";
$route['manage/system/list-staff/trang-(:num)']        = "manage/system/liststaff";
$route['manage/system/edit-staff/(:num)']              = "manage/system/editstaff";
$route['manage/system/add-staff']                      = "manage/system/addstaff";
$route['manage/system/delete-staff/(:num)']            = "manage/system/deletestaff";








$route['manage/restaurant/order-restaurant-categories/(:num)']                       = "manage/restaurant/orderrestaurantcategories";
$route['manage/restaurant/order-restaurant-categories/(:num)/trang-(:num)']          = "manage/restaurant/orderrestaurantcategories";
$route['manage/restaurant/order-restaurant-zone/(:num)']                       = "manage/restaurant/orderrestaurantzone";
$route['manage/restaurant/order-restaurant-zone/(:num)/trang-(:num)']          = "manage/restaurant/orderrestaurantzone";
$route['manage/ecoupon/get-ecoupon']                   = "manage/ecoupon/getecoupon";
$route['thong-bao/(:any)']                              = "manage/index/notification";
$route['thong-bao']                                     = "manage/index/notification";
$route['check-permission/(:any)']                       = "manage/index/permission";
$route['check-permission']                              = "manage/index/permission";
$route['manage-getpermission']                          = "manage/index/getpermission";
/**
 * 
 * @void report E-coupon
 *  
 */ 

$route['manage/ecoupon/report-ecoupon']                   = "manage/ecoupon/report";
$route['manage/ecoupon/report-ecoupon/trang-(:num)']                   = "manage/ecoupon/report";
$route['manage/ecoupon/report-ecoupon/(:num)']                   = "manage/ecoupon/reportdetail";
$route['manage/ecoupon/report-ecoupon/(:num)/trang-(:num)']                   = "manage/ecoupon/reportdetail";
$route['manage/ecoupon/report/(:num)']                   = "manage/ecoupon/ajaxreporttable";

$route['manage/campaign/report-gift-code']                   = "manage/campaign/reportusercode";
$route['manage/campaign/report-gift-code/trang-(:num)']                   = "manage/campaign/reportusercode";
$route['manage/campaign/report']                   = "manage/campaign/ajaxreporttable";
$route['manage/campaign/reportgiftcode']                   = "manage/campaign/ajaxreporttablegiftcode";
$route['manage/campaign/report-voucher-code']                   = "manage/campaign/reportuservoucher";
$route['manage/campaign/report-voucher-code/trang-(:num)']                   = "manage/campaign/reportuservoucher";
$route['ajax-get-restaurant'] = "manage/ecoupon/ajaxgetrestaurant";

